<style>


</style>

<link href="__PUBLIC__/style/css/dialog.css" rel="stylesheet">

<form class="form-horizontal" id="status_form6" action="{:U('business/offer')}" method="post">
    <input type="hidden" name="id" value="{:I('id')}">
    <input type="hidden" name="key" value="{:I('key')}">
<div class="full-height">
    <div class="content">
       <table class="beizhu">
           <tr  height="50">
               <td style="text-align: right;">姓名:</td>
               <td class="result_select" style="padding-left: 20px;">
                   <span href="javascript:void(0)" class="addgw">{$project['name']}</span>
               </td>
           </tr>
           <tr  height="50">
               <td style="text-align: right;">职位:</td>
               <td class="result_select" style="padding-left: 20px;">
                   <span href="javascript:void(0)" class="addgw">{$project['business_name']}</span>
               </td>
           </tr>
           <tr  height="150">
               <td style="text-align: right;">薪资结构:</td>
               <td class="result_select" style="padding-left: 20px;">
                   <textarea col="3" row="5" class="ccbeizhu" name="structure" placeholder="薪资结构（最多不超过200字）" maxlength="1000" style="margin-top: 10px;height: 120px;">{$list['structure']}</textarea>
               </td>
           </tr>
           <tr height="50">
               <td style="text-align: right;">转正后薪资:</td>
               <td style="padding-left: 20px;">
                   <input type="text" class="form-control timerinput" name="monthSalary" id="monthSalary" value="{$list['monthSalary']}" placeholder="请填写转正后月薪(元)" maxlength="200" style="width: 170px;float: left">
                   <i class="icon-remove" style="float: left;margin: 7px;color: #ccc;"></i>
                   <input type="text" class="form-control timerinput" name="month" value="{$list['month']}" id="month" placeholder="月数" style="width:70px;float: left" maxlength="2">
               </td>
           </tr>
           <tr height="50">
               <td style="text-align: right;"><label style="color: red;">*</label>年薪:</td>
               <td style="padding-left: 20px;">
                   <input type="text" class="form-control timerinput" name="YearSalary" value="{$list['YearSalary']}"  id="YearSalary"  placeholder="元" maxlength="200">
               </td>
           </tr>
           <tr  height="50">
               <td style="text-align: right;"><label style="color: red;">*</label>Offer签订日期:</td>
               <td style="padding-left: 20px;">
                   <div>
                       <input type="hidden" class="xxtime" value="" name="xxtime">
                       <input type="text" readonly="readonly" class="form-control timerinput"  name="offertime"  onFocus="WdatePicker({dateFmt:'yyyy-MM-dd  HH:mm', minDate:&quot;#F{$dp.$D('timestart')}&quot;,maxDate:'2038-01-01'})"  placeholder="请选择面试时间" value="{$list['offertime']}" >
                   </div>
               </td>
           </tr>
           <tr  height="50">
               <td style="text-align: right;">预计收入:</td>
               <td style="padding-left: 20px;">
                   <div>
                       <input type="text" class="form-control timerinput" name="income"  placeholder="元" maxlength="200"  value="{$list['income']}">
                   </div>
               </td>
           </tr>
           <tr  height="50">
               <td style="text-align: right;">预计离职时间:</td>
               <td style="padding-left: 20px;">
                   <div>
                       <input type="hidden" class="xxtime" value="" name="xxtime">
                       <input type="text" readonly="readonly" class="form-control timerinput"  id="timestart" name="leavetime"  onFocus="WdatePicker({dateFmt:'yyyy-MM-dd  HH:mm', minDate:&quot;#F{$dp.$D('timestart')}&quot;,maxDate:'2038-01-01'})"  placeholder="请选择面试时间" value="{$list['leavetime']}" >
                   </div>
               </td>
           </tr>
           <tr>
               <td style="text-align: right;">备注:</td>
               <td style="padding-left: 20px;">
                   <textarea col="3" row="5" name="remarks" class="ccbeizhu" placeholder="请填写备注（最多不超过1000字）" maxlength="1000" style="margin-top: 10px;"> {$list['remarks']}</textarea>
               </td>
           </tr>


       </table>
    </div>
</div>
</form>

<div style="display:none" id="dialog-gw">
    <div class="spiner-example">
        <div class="sk-spinner sk-spinner-three-bounce">
            <div class="sk-bounce1"></div>
            <div class="sk-bounce2"></div>
            <div class="sk-bounce3"></div>
        </div>
    </div>
</div>




<script>



    $(function () {
        $("#monthSalary").blur(function(){
            var month = $("#month").val();
            var monthSalary = $(this).val();
            if(month){
                var yearSalary = month*monthSalary;

                $("#YearSalary").val(yearSalary);
            }
        })

        $("#month").blur(function(){
            var monthSalary = $("#monthSalary").val();
            var month = $(this).val();
            if(monthSalary){
                var yearSalary = month*monthSalary;
                $("#YearSalary").val(yearSalary);
            }
        })

        $("input").on("blur",function () {
            $(this).css("border","1px solid #d8e3ef");
        })

    })



</script>
